<h1>Editing post</h1>
<% form_for([@project, @post]) do |f| %>
	1<br />
	<div class="field">
		<%= f.label :poster %><br />
		<%= f.text_field :poster %>
	</div>
	<div class="field">
		<%= f.label :title %><br />
		<%= f.text_field :title %>
	</div>
	<div class="field">
		<%= f.label :body %><br />
		<%= f.text_area :body %>
	</div>
	<div class="actions">
		<%= f.submit "Update Post"%>
	</div>
<% end %>

<%= link_to 'Show', [@project, @post] %> |
<%= link_to 'Back', project_path %>
